import request from "../networks/request"

// 添加历史浏览的话题
export const addHistory_topic = (data) => {
    return request({
        url: '/history/addtopic',
        method: 'post',
        data ,
    });
}

// 添加历史浏览的问题
export const addHistory_issue = (data) => {
    return request({
        url: '/history_issue/add',
        method: 'post',
        data ,
    });
}

// 添加历史浏览用户
export const addHistory_user = (data) => {
    return request({
        url: '/history_user/add',
        method: 'post',
        data ,
    });
}

// 获取历史浏览的话题
export const findHistory_topic = (data) => {
    return request({
        url: '/history_topic/findall',
        method: 'get',
        params:data ,
    });
}

// 获取历史浏览的问题
export const findHistory_issue = (data) => {
    return request({
        url: '/history_issue/findall',
        method: 'get',
        params:data ,
    });
}
// 获取历史浏览用户
export const findHistory_user = (data) => {
    return request({
        url: '/history_user/findall',
        method: 'get',
        params:data ,
    });
}


